wait(0.25) function Hit(hit,p,d,s) if hit and hit.Parent then local Humanoid = hit.Parent:FindFirstChildWhichIsA("Humanoid") if Humanoid then if p then p:Emit(16) end Humanoid.Health = Humanoid.Health + 3 if s then Humanoid.Health = Humanoid.Health + 24 if d then d.PlaybackSpeed = 1.2 d:Play() end end end end end function Ready() local Tool = Instance.new("Tool",owner.Backpack) Tool.Name = "Medic" Tool.TextureId = "rbxasset://textures/DevConsole/Maximize.png" Tool.GripPos = Vector3.new(0.4,0,1) local Torso = Instance.new("Part",Tool) Torso.Name = "Handle" Torso.Size = Vector3.new(1,2,3) Torso.BrickColor = BrickColor.new("Medium stone grey") Torso.Material = Enum.Material.Wood Torso.Locked = true local SoundA = Instance.new("Sound",Torso) SoundA.SoundId = "rbxasset://sounds/swordslash.wav" SoundA.Volume = 1.2 local SoundB = Instance.new("Sound",Torso) SoundB.SoundId = "rbxasset://sounds/swordlunge.wav" SoundB.Volume = 1.2 local SoundC = Instance.new("Sound",Torso) SoundC.SoundId = "rbxasset://sounds/flashbulb.wav" SoundC.Volume = 1.2 local SoundD = Instance.new("Sound",Torso) SoundD.SoundId = "rbxasset://sounds/hit.wav" SoundD.Volume = 1.2 local A = Instance.new("Attachment",Torso) local Particles = Instance.new("ParticleEmitter",A) Particles.LightEmission = 1 Particles.LightInfluence = 0.2 Particles.Drag = 16 Particles.Enabled = false Particles.Lifetime = NumberRange.new(0.8,1.4) Particles.Rate = 100 Particles.EmissionDirection = Enum.NormalId.Top Particles.SpreadAngle = Vector2.new(-360,360) Particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.8,0),NumberSequenceKeypoint.new(1,1)}) Particles.Texture = "rbxasset://textures/DevConsole/Maximize.png" Particles.Acceleration = Vector3.new(0,40,0) Particles.Speed = NumberRange.new(40,40) Particles.Size = NumberSequence.new(0.7,0.7) local BA0 = Instance.new("Attachment",Torso) BA0.Position = Vector3.new(-0.5,0,0.5) local BA1 = Instance.new("Attachment",Torso) BA1.Position = Vector3.new(0.5,0,0.5) local ShipTrail = Instance.new("Trail",script) ShipTrail.Color = ColorSequence.new(Torso.Color) ShipTrail.Transparency = NumberSequence.new(0,1) ShipTrail.MinLength = 0.02 ShipTrail.Lifetime = 0.3 ShipTrail.FaceCamera = true ShipTrail.Attachment0 = BA0 ShipTrail.Attachment1 = BA1 local Beam = Instance.new("Beam",script) Beam.Attachment0 = A Beam.FaceCamera = true local Fire = 0 local CurrentHumanoid local LastSuper = false local function Equipped() Fire = math.max(-55,math.min(0,Fire)) Tool.Enabled = true local Humanoid = Tool.Parent:FindFirstChildWhichIsA("Humanoid") if Humanoid then CurrentHumanoid = Humanoid end end local function Unequipped() if CurrentHumanoid then CurrentHumanoid = nil end end Tool.Equipped:Connect(Equipped) Tool.Unequipped:Connect(Unequipped) local function Touched(hit) local Humanoid = Tool.Parent:FindFirstChildWhichIsA("Humanoid") if Humanoid and Humanoid:GetState() ~= Enum.HumanoidStateType.Dead and Fire > 0 then Hit(hit,Particles,SoundD,LastSuper) if Particles then Particles.Color = ColorSequence.new(Torso.Color) end if SoundC then SoundC.PlaybackSpeed = 1.6 SoundC:Play() end end end Torso.Touched:Connect(Touched) local function ValueChange() if Tool.Enabled == false then if Torso and Fire <= -24 then local Player = game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent) local Character = Tool.Parent local Humanoid if Character then Humanoid = Tool.Parent:FindFirstChildWhichIsA("Humanoid") end if Humanoid and Humanoid:GetState() ~= Enum.HumanoidStateType.Dead then local Super = (Fire <= -75) LastSuper = false if Super == true then LastSuper = true end if Super then local toolanim = Instance.new("StringValue",Tool) toolanim.Name = "toolanim" toolanim.Value = "Lunge" else local toolanim = Instance.new("StringValue",Tool) toolanim.Name = "toolanim" toolanim.Value = "Slash" end if Super == true then SoundB.PlaybackSpeed = 1.75 SoundB:Play() end if SoundA then SoundA.PlaybackSpeed = 1.4 SoundA:Play() end Fire = 12 if Super == true then Fire = 16 end end end end end Tool:GetPropertyChangedSignal("Enabled"):Connect(ValueChange) local function Activated() Tool.Enabled = false end Tool.Activated:Connect(Activated) while Tool and Tool:FindFirstAncestorWhichIsA("DataModel") do Fire = Fire - 1 if Fire == 0 then if CurrentHumanoid then if LastSuper then CurrentHumanoid.Health = CurrentHumanoid.Health + 480 SoundD.PlaybackSpeed = 1.2 SoundD:Play() else CurrentHumanoid.Health = CurrentHumanoid.Health + 12 end end end if Fire == -24 then Tool.Enabled = true end if Torso and Fire <= -75 then Torso.Material = Enum.Material.Neon elseif Torso then Torso.Material = Enum.Material.Wood end if Torso then if Fire < 0 and Fire > -24 then Torso.BrickColor = BrickColor.new("Hot pink") if ShipTrail then ShipTrail.Color = ColorSequence.new(Color3.new(1,0,1)) end else Torso.BrickColor = BrickColor.new("Lime green") if ShipTrail then ShipTrail.Color = ColorSequence.new(Color3.new(0,1,0)) end end end if owner and owner.Parent and owner.Neutral == false then local TeamColor = owner.TeamColor Torso.BrickColor = TeamColor end wait(0.04) end end function CharacterAdded() Ready() end owner.CharacterAdded:Connect(CharacterAdded) Ready()